Extract opendirat() helper function into libotutil
authorColin Walters <walters@verbum.org>
Tue, 16 Sep 2014 15:15:36 +0000 (11:15 -0400)
committerColin Walters <walters@verbum.org>
Tue, 16 Sep 2014 15:34:39 +0000 (11:34 -0400)
commitb756a13a65c122a091c489ae737b82df02cd0d59
tree66f51ab94acd9e23303d4d8207d4408b1a2c59e8
parentdfeb27eca55d923c57735e491e438ae54f8cc201
Extract opendirat() helper function into libotutil

We were duplicating the code to do an opendirat() in a few places.
Makefile-otutil.am
src/libostree/ostree-repo.c
src/libostree/ostree-sysroot-deploy.c
src/libotutil/ot-fs-utils.c [new file with mode: 0644]
src/libotutil/ot-fs-utils.h [new file with mode: 0644]
src/libotutil/otutil.h